Skip to content

Applies to

netstandard2.0, net472

public IDisposable Subscribe(IObserver<object> observer)

Inherited documentation

These docs were inherited from IObservable<object>. The member doesn't override them on this type.

Summary: Notifies the provider that an observer is to receive notifications.

Parameters

NameTypeDescription
observerIObserverThe object that is to receive notifications.

Returns: IDisposable -- A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.